<?php
$str = "1	0	2013-12-12_10-16-20	1386810983	admx42d69b8857x772	0	127.0.0.1	1	17896	8	0	0	17897	0	4412	27041	24723	0	18	567	0	0	0	0	%5Fsite%3D8%26%5Farticle%3D4412%26%5Fref%3D%26%5Fnocache%3D1386810983782	0		Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0	17897,8,0,0,4412,24723,27041,0,0,1386668366,xuidx42dbe04402xbf1,,,0		4	20.0	100.0				0		0	0	0	0	0	0	0	0	";
$arr = explode("\t", $str);
echo count($arr);

?>